package com.young.msg.model;

import java.util.Date;

/**
 * 站内信收取实体类
 * Created by wangjiyu on 2021-10-31.
 */
public class SiteLetterReceive {

    /**
     * 自增主键
     */
    private Long id;
    /**
     * 站内信id
     */
    private Long letterId;
    /**
     * 收件人id
     */
    private String receiverUserId;
    /**
     * 收件人名称
     */
    private String receiverUserName;
    /**
     * 收信时间
     */
    private Date receiveTime;
    private Date receiveTime2;
    /**
     * 阅读状态
     */
    private Integer readStatus;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建时间,按时间检索时作为结束时间使用
     */
    private Date createTime2;
    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 排序字段
     */
    private String orderBy;
    /**
     * 排序类型,升序asc/降序desc
     */
    private String orderType;

    // 信件属性
    /**
     * 站内信标题
     */
    private String letterTitle;
    /**
     * 发送人
     */
    private String sender;
    /**
     * 发送人姓名
     */
    private String senderName;
    /**
     * 发送时间
     */
    private Date sendTime;
    private Date sendTime2;

    public SiteLetterReceive() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLetterId() {
        return letterId;
    }

    public void setLetterId(Long letterId) {
        this.letterId = letterId;
    }

    public String getReceiverUserId() {
        return receiverUserId;
    }

    public void setReceiverUserId(String receiverUserId) {
        this.receiverUserId = receiverUserId;
    }

    public Integer getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(Integer readStatus) {
        this.readStatus = readStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime2() {
        return createTime2;
    }

    public void setCreateTime2(Date createTime2) {
        this.createTime2 = createTime2;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getReceiverUserName() {
        return receiverUserName;
    }

    public void setReceiverUserName(String receiverUserName) {
        this.receiverUserName = receiverUserName;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Date getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(Date receiveTime) {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime2() {
        return receiveTime2;
    }

    public void setReceiveTime2(Date receiveTime2) {
        this.receiveTime2 = receiveTime2;
    }

    public String getLetterTitle() {
        return letterTitle;
    }

    public void setLetterTitle(String letterTitle) {
        this.letterTitle = letterTitle;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getSenderName() {
        return senderName;
    }

    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getSendTime2() {
        return sendTime2;
    }

    public void setSendTime2(Date sendTime2) {
        this.sendTime2 = sendTime2;
    }
}